package net.wanho.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ProductVo {
    private Integer productId;

    private Integer storeId;

    private String storeName;

    private Integer brandId;

    private String brandName;

    private String productName;

    private String productNum;

    private Integer productInvent;

    private Integer typeId;

    private String typeName;

    private Integer supplyId;

    private String supplyName;

    private String placeId;

    private String placeName;

    private Integer unitId;

    private String unitName;

    private String introduce;

    private String upDownState;

    private BigDecimal inPrice;

    private BigDecimal salePrice;

    private BigDecimal memPrice;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer createBy;

    private Integer updateBy;

    private String imgs;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate productDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate suppDate;
}
